home *** CD-ROM | disk | FTP | other *** search
- Path: news.ov.com!news
- From: glenn@ov.com (Fletcher.Glenn@ov.com)
- Newsgroups: comp.lang.c
- Subject: Re: Calling a function in variable
- Date: 20 Mar 1996 22:10:16 GMT
- Organization: OpenVision
- Message-ID: <4ipvo8$8mk@spanky.pls.ov.com>
- References: <4ikjlq$71@Server2.swix.ch>
- Reply-To: glenn@ov.com
- NNTP-Posting-Host: foghorn.pls.ov.com
-
- In article 71@Server2.swix.ch, Aurelio Caliaro <caliaro@swix.ch> writes:
- >It is strange but I can't remember how I need to call a
- >function whose address is in a variable.
- >If the function address is in "(void*)Addr", how do I
- >call it?
- >
- > Aurelio
- >
-
- Try:
- (*Addr)(your arguments here);
-
- Fletcher.Glenn@ov.com
-
-
-